# Downloads and installs a supported version of Horde3D
cmake_minimum_required(VERSION 2.6)

# Add dependency for ExternalProject
include(ExternalProject)

# Download and compile SFML using an external project
ExternalProject_Add( horde3d
    CMAKE_ARGS 
        -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
    URL 
        http://downloads.sourceforge.net/horde3d/Horde3D_SDK_1.0.0_Beta5.zip
    INSTALL_COMMAND
        ""
)
